﻿<div>
			@(Html.Kendo().Menu()
					.Name("menu")
					.Items(menu => {
						menu.Add().Text("Home").Action("Index", "Home");
                        menu.Add().Text("Enterprise Users").Action("GetEnterpriseUsers", "User");
                        menu.Add().Text("All Users").Action("GetUsers", "User");

                        menu.Add()
                          .Text("Roles")
                          .Items(children =>
                          {
                              children.Add().Text("Show Roles").Action("GetRoles", "Role");
                              children.Add()
                                            .Encoded(false)
                                            .Enabled(false)
                                            .Text("<hr />")
                                            .LinkHtmlAttributes(new { style = "padding:0px; margin:0px;" });

                              children.Add().Text("Add New Role").Action("AddNewRole", "Role");
                          });

                        menu.Add()
                          .Text("User Management")
                          .Items(children =>
                          {
                              children.Add().Text("Create New User").Action("CreateNewUser", "User");
                          });
                        

                        menu.Add()
                          .Text("Application")
                          .Items(children =>
                          {
                              children.Add().Text("Application Users").Action("ShowApplicationUsers", "Application");
                              children.Add().Text("Select Application").Action("Index", "Home");
                              children.Add()
                                            .Encoded(false)
                                            .Enabled(false)
                                            .Text("<hr />")
                                            .LinkHtmlAttributes(new { style = "padding:0px; margin:0px;" });

                              children.Add().Text("Show Application List").Action("GetApplications", "Application");

                              children.Add()
                                            .Encoded(false)
                                            .Enabled(false)
                                            .Text("<hr />")
                                            .LinkHtmlAttributes(new { style = "padding:0px; margin:0px;" });

                              children.Add().Text("Add Application").Action("AddNewApplication", "Application");
                              
                          });

                        menu.Add().Text("About").Action("About", "Home");
                        
                    }))

</div>

<style scoped="scoped">

    #menu h2 {
        font-size: 1em;
        text-transform: uppercase;
        padding: 5px 10px;
    }
    #template img {
        margin: 5px 20px 0 0;
        float: left;
    }
    #template {
        width: 380px;
    }
    #template ol {
        float: left;
        margin: 0;
        padding: 10px 10px 0 10px;
    }
    #template:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    #template .k-button {
        float: left;
        clear: left;
        margin: 5px 0 5px 12px;
    }

#div-menustrip {
 position:absolute;
 top:0px;
 left:0;
 margin-top:0px;
 margin-left:0px;
 margin-right:0px;
 width:auto;
}</style>